.sidebar {
  position: fixed;
  top: 0.5rem;
  width: fit-content;
  background-color: var(--primary);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}

.icon {
  margin: 0 10px;
  width: 50px;
  height: 50px;
  align-self: end;
  background-color: none;
  cursor: pointer;
}

.list {
  display: flex;
  @media (min-width: 769px) {
    display: none;
  }
}

.content {
  padding: 20px;
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
}

.close-button {
  background-color: var(--primary);
  border: none;
  padding: 10px 20px;
  margin-bottom: 20px;
  cursor: pointer;
}

.close-button:hover {
  background-color: red;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

ul {
  height: 100%;
  display: flex;
  flex-direction: column;
  list-style-type: none;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

li {
  margin-bottom: 10px;
  cursor: pointer;
  color: white;
  transition: transform 0.2s;
  &&:hover {
    transform: scale(1.3);
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
  }
}
